//
//  UIView+OYCategory.h
//  name
//
//  Created by 欧阳芳斌 on 2017/6/20.
//  Copyright © 2017年 zhangyou. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (OYCategory)

@property (nonatomic, assign) CGSize oy_size;
@property (nonatomic, assign) CGFloat oy_width;
@property (nonatomic, assign) CGFloat oy_height;
@property (nonatomic, assign) CGFloat oy_x;
@property (nonatomic, assign) CGFloat oy_y;
@property (nonatomic, assign) CGFloat oy_centerX;
@property (nonatomic, assign) CGFloat oy_centerY;

@property (nonatomic, assign) CGFloat oy_right;
@property (nonatomic, assign) CGFloat oy_bottom;

/**
 *  1.添加边框
 */
- (void)addBorderColor:(UIColor *)color;
/**
 *  2.UIView 的点击事件
 */
- (UITapGestureRecognizer *)oy_addTarget:(id)target action:(SEL)action;

@end
